#ifndef FND_GAME_LIGHT_SYSTEM_H
#define FND_GAME_LIGHT_SYSTEM_H
#include <vector>
#include <boost/noncopyable.hpp>
#include "shader_light.h"
#include "ltbasedefs.h"
class game_logic_shell  ;

class light_system : boost::noncopyable {
public:
    void add_light(const shader_light& light) {m_lights.push_back(light);}
    void send_light_to_client(HCLIENT hclient, const LTVector& pos) ;
    light_system(game_logic_shell* shell) ;
    typedef std::vector<shader_light> shader_light_vec_type ;
private:
    game_logic_shell* m_shell ;
    shader_light_vec_type m_lights ;

    void send_top_lights(HCLIENT hclient, size_t num) ;

} ;
#endif
